package end.ser.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import end.dao.CounterGroupDAO;
import end.ser.CounterGroupSER;

/**
 * 
 * CounterGroupSERImp.java 2016-7-5
 * 
 * Copyright zhaocj Inc. All rights reserved. Love Me Like Love Justin Bieber
 */
@Service("counterGroupSER")
public class CounterGroupSERImp<T> extends BaseSERImp<T> implements
		CounterGroupSER<T> {
	@Autowired
	private CounterGroupDAO<T> mapperDAO;

	public CounterGroupDAO<T> getMapperDAO() {
		return mapperDAO;
	}

	public void setMapperDAO(CounterGroupDAO<T> mapperDAO) {
		this.mapperDAO = mapperDAO;
	}

	@Override
	public List<T> selectByCustomer(Object key) {
		return getMapperDAO().selectByCustomer(key);
	}

}
